home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / text1 / cms_help_files / incl.helpmark < prev    next >
Text File  |  1991-10-23  |  4KB  |  90 lines

  1. +-----------------------------------------------------------------------------+
  2. |                                   include                                   |
  3. +-----------------------------------------------------------------------------+
  4.  
  5. Abbreviation:  π|\inclπ%
  6.  
  7. Parameters:    π|page segment nameπ%
  8.  
  9.     π|Description:π%
  10. The \include markup  will include external page segment  files, into a TEXT1
  11. document.   Page  segments come  from graphics  generating programs  such as
  12. those produced  by GDDM, SAS  and MEGACALC. Refer  to the  GDDM Page Segment
  13. Generation for the IBM 3820 User Note, U-419, for details on how to create a
  14. page segment.
  15.  
  16.     The format for the \include markup is:
  17.  
  18. \include{fn}
  19.  
  20.     Where  fn is  the filename  of the  file to  be  included into  the text
  21. document.   It must  have a filetype  of "PSEG3820".   You  must leave space
  22. after the page segment to  prevent the image from overprinting the following
  23. text of the document.
  24.  
  25.     π|Example:π%
  26. A file called "GRAPH1  PSEG3820 A" contains a SAS/GRAPH image.   It is 2 1 2
  27. inches high, so you would enter:
  28.  
  29. . . .   in the graph illustrated below:
  30. \par
  31. \include{graph1}
  32. \vs{3.5in}
  33. \noindent
  34. Notice the values on the Y axis, they  . . .
  35.  
  36. In the document you would get:
  37.  
  38. +-----------------------------------------------------------------------------+
  39. |                                                                             |
  40. |  . . .    in the graph illustrated below:                                   |
  41. |                                                                             |
  42. |                                                                             |
  43. |          WWW     W     WWW    SSSSSS   UUU      UUU                         |
  44. |            WWW  WWW  WWW    SSSSS      UUU      UUU                         |
  45. |               WWWWWWW         SSSSSS   UUU      UUU                         |
  46. |                WWWWW        SSSSSSSS    UUUUUUUUUU                          |
  47. |                                                                             |
  48. |                                                                             |
  49. | Notice the values on the Y axis, they  . . .                                |
  50. |                                                                             |
  51. +-----------------------------------------------------------------------------+
  52.  
  53.     π|Example:π%
  54. Sometimes you  may want to  center the graph  on the page.   To  do this you
  55. would subtract the width of the graph from the galleywidth(1) and divide the
  56. difference by 2;  then you would do a horizontal  skip of that amount (after
  57. entering \null.  For the above graph, the galleywidth is 25 picas, the width
  58. of the  "graph1" is 19  picas, so  the indent is  to be 3  picas ( 25pc-19pc
  59. 2=3pc ):
  60.  
  61. | . .   in the graph illustrated below:                                       |
  62. \par
  63. \noindent\hs{3pc}
  64. \include{graph1}
  65. \vs{3.5in}
  66. \noindent
  67. Notice the values on the Y axis, they  . . .
  68. +-----------------------------------------------------------------------------+
  69.   1.  galleywidth=page width - left margin - right margin
  70.  
  71. In the document you would get the same graph as above, centered on the page.
  72. Refer to the example below:
  73.  
  74. +-----------------------------------------------------------------------------+
  75. |                                                                             |
  76. |  . . .    in the graph illustrated below:                                   |
  77. |                                                                             |
  78. |          WWW     W     WWW    SSSSSS   UUU      UUU                         |
  79. |            WWW  WWW  WWW    SSSSS      UUU      UUU                         |
  80. |               WWWWWWW         SSSSSS   UUU      UUU                         |
  81. |                WWWWW        SSSSSSSS    UUUUUUUUUU                          |
  82. |                                                                             |
  83. |                                                                             |
  84. | Notice the values on the Y axis, they  . . .                                |
  85. |                                                                             |
  86. +-----------------------------------------------------------------------------+
  87.  
  88.     π|Notes:π%
  89. none.
  90.